package net.goutalk.glcs.module.organization.service.impl;


import net.goutalk.glcs.module.organization.dto.WeChatDepartDto;
import net.goutalk.glcs.module.organization.service.IDepartmentService;
import net.goutalk.glcs.module.organization.service.IUserService;
import net.goutalk.glcs.module.organization.service.WeChatService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
@AllArgsConstructor
public class WeChatServiceImgl implements WeChatService {

    private List<WeChatDepartDto> deptDepartlist = new ArrayList<>();


    private final IDepartmentService departmentService;

    private final IUserService userService;


    @Override
    public boolean updateInfo() {
        deptDepartlist.clear();
        this.getdept(null);
        return this.updatedepart();
    }

    private boolean updatedepart() {

        return true;
    }

    //拉取所有部门id
    private void getdept(Long dept_id) {

    }
}
